package cn.springcloud.fix.uaa.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/users")
public class UserController {

    @RequestMapping(value = "/current")
    public Map<String, String> info() {
        Map<String, String> map = new HashMap<>();
        map.put("username", "yangjun");
        return map;
    }
}
